<h2>Add domain</h2>

<%= error_messages_for :domain %>

<% form_for :domain, :url => { :action => :create_domain} do |f| %>
  <p>
    <b>Table</b><br />
    <%= f.text_field :table_id %>
  </p>
	<p>
    <b>Protocol</b><br />
    <%= f.text_field :protocol %>
  </p>
  <p>
    <b>Hostname</b><br />
    <%= f.text_field :hostName %>
  </p>
	<p>
    <b>Port</b><br />
    <%= f.text_field :port %>
  </p>

  <p>
    <b>Path</b><br />
    <%= f.text_field :path %>
  </p>
	<p>
    <b>Name</b><br />
    <%= f.text_field :domainName %>
  </p>
	<p>
    <b>Title</b><br />
    <%= f.text_field :title %>
  </p>
  <p>
    <%= f.submit "Add domain" %>
  </p>
<% end %>


